home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat4 / updaters.z / updaters
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUPPPPDDDDAAAATTTTEEEERRRRSSSS((((4444))))                                                        UUUUPPPPDDDDAAAATTTTEEEERRRRSSSS((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      updaters - configuration file for NIS updating
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////vvvvaaaarrrr////yyyypppp////uuuuppppddddaaaatttteeeerrrrssss
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The file /_v_a_r/_y_p/_u_p_d_a_t_e_r_s is a makefile (see _m_a_k_e(1)) which is used for
  16.      updating NIS databases.  Each entry in the file is a make target for a
  17.      particular NIS database. For example, if there is a NIS database named
  18.      ppppaaaasssssssswwwwdddd....bbbbyyyynnnnaaaammmmeeee that can be updated, there should be a _m_a_k_e target named
  19.      ppppaaaasssssssswwwwdddd....bbbbyyyynnnnaaaammmmeeee in the _u_p_d_a_t_e_r_s file with the command to update the file.
  20.  
  21.      The information necessary to make the update is passed to the update
  22.      command through standard input. The information passed is described below
  23.      (all items are followed by a NEWLINE, except for 4 and 6)
  24.  
  25.      +o  Network name of client wishing to make the update (a string)
  26.  
  27.      +o  Kind of update (an integer)
  28.  
  29.      +o  Number of bytes in key (an integer)
  30.  
  31.      +o  Actual bytes of key
  32.  
  33.      +o  Number of bytes in data (an integer)
  34.  
  35.      +o  Actual bytes of data
  36.  
  37.      After getting this information through standard input, the command to
  38.      update the particular database should decide whether the user is allowed
  39.      to make the change. If not, it should exit with the status YPERR_ACCESS.
  40.      If the user is allowed to make the change, the command should make the
  41.      change and exit with a status of zero. If there are any errors that may
  42.      prevent the updater from making the change, it should exit with the
  43.      status that matches a valid NIS error code described in
  44.      <_r_p_c_s_v_c/_y_p_c_l_n_t._h>.
  45.  
  46. FFFFIIIILLLLEEEESSSS
  47.      /var/yp/updaters
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      _m_a_k_e(1), _y_p_u_p_d_a_t_e_d(1M)
  51.  
  52. BBBBUUUUGGGGSSSS
  53.      Access control is insecure.  Use only on a trusted network.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.